import PropTypes from 'prop-types';
import * as React from 'react';
import Svg, { Circle, G, Path } from 'react-native-svg';

function Capricorn({ color, height, width, style }) {
  return (
    <Svg height={height} width={width} viewBox="0 0 512 512" style={style}>
      <Path
        d="M272 24H136a72 72 0 00-72 72h48a40 40 0 0140-40h88a32 32 0 0032-32z"
        fill="#a961b2"
      />
      <Path
        d="M304 24a32 32 0 01-32 32h-88a40.015 40.015 0 00-40 40H96a71.946 71.946 0 0172-72z"
        fill="#c378cb"
      />
      <Path
        d="M131.61 56.86l-7.22 14.28-19.48-9.85a72.1 72.1 0 019.35-13.2zM151.05 44.22l-14.1 7.56-8.55-15.92a71.967 71.967 0 0114.26-7.27zM168 24h16v16h-16zM200 24h16v16h-16zM232 24h16v16h-16zM264 24h16v16h-16z"
        fill="#b76bbf"
      />
      <Path
        d="M168 336v-48H56a32 32 0 00-32 32v68a60 60 0 0060 60h20v-48H72v-64z"
        fill="#46349e"
      />
      <Path
        d="M360 280l24-40h-18.334A33.167 33.167 0 01336 192h-9.983a33.167 33.167 0 01-31.465-43.656L296 144h-9.983a33.167 33.167 0 01-31.465-43.656L256 96h-72v184z"
        fill="#c378cb"
      />
      <Path
        d="M368 264l-54.428-27.214a122.249 122.249 0 01-58.834-63.94A122.247 122.247 0 00141.235 96H64v72l33.142 59.655A24 24 0 00118.122 240H144v82.745a32 32 0 009.373 22.628l47.6 47.6A24 24 0 00217.941 400H368z"
        fill="#5f4bbc"
      />
      <Path
        d="M392 168h-29.539C325.756 168 296 135.765 296 96h29.539C362.244 96 392 128.235 392 168zM392 168h29.539C458.244 168 488 135.765 488 96h-29.539C421.756 96 392 128.235 392 168z"
        fill="#c378cb"
      />
      <Path
        d="M200 432l-16 16h-56l60.58-36.348a40 40 0 0019.42-34.3V352h-40l-82.278 68.565A38.137 38.137 0 0072 449.863 38.138 38.138 0 00110.137 488H184a56 56 0 0056-56z"
        fill="#5f4bbc"
      />
      <Path d="M56 128h8V96H24a32 32 0 0032 32z" fill="#46349e" />
      <Path
        d="M480 376a112.017 112.017 0 11-169.71-96c1.68-1.02 3.39-1.98 5.13-2.9a122.847 122.847 0 0031.37-23.7 110.271 110.271 0 0011.5-14.21 94.939 94.939 0 0014.72-34.21c.48-2.35 3.79-36.98-1.01-36.98h40c6.41 28.69 10.92 60.27 1.71 88.9a92.545 92.545 0 01-6.04 14.34c.02.01.05.02.07.03a110.466 110.466 0 0114.42 6.69A111.93 111.93 0 01480 376z"
        fill="#6754c4"
      />
      <Path
        d="M108 152a12 12 0 1012 12 12.01 12.01 0 00-12-12z"
        fill="#362684"
      />
      <G fill="#46349e">
        <Path d="M192 152h16v16h-16zM216 176h16v16h-16zM248 232h16v16h-16zM272 256h16v16h-16zM424 336h16v16h-16zM440 368h16v16h-16zM280 352h16v16h-16zM296 416h16v16h-16zM320 440h16v16h-16zM384 232h16v16h-16zM248 280h16v16h-16z" />
      </G>
      <Path
        d="M422.16 277.96a8.14 8.14 0 01-.78 1.67c-10.17 16.44-26.4 33.29-38.99 45.59-3.48 3.4-7.27 6.72-10.93 9.93-.35.31-.71.62-1.06.92-.81.72-1.61 1.42-2.4 2.12-10.67 9.44-20.23 18.8-22.57 30.98a8.086 8.086 0 01-7.9 6.58 8.244 8.244 0 01-1.39-.12 8.005 8.005 0 01-6.51-9.28 44.933 44.933 0 011.5-5.89c-.01-.01.01-.02.01-.02 5.09-15.7 18.02-27.02 29.77-37.32 2.47-2.16 4.84-4.24 7.09-6.31q1.65-1.515 3.21-3.03c11.86-11.59 27.26-27.54 36.53-42.51a110.466 110.466 0 0114.42 6.69z"
        fill="#5a45b5"
      />
      <Path d="M136 96v40h16a40 40 0 0040-40z" fill="#5f4bbc" />
      <Path
        d="M152 144a8 8 0 01-8-8 8 8 0 018-8 32.054 32.054 0 0031.358-25.6 7.989 7.989 0 017.829-6.4h.008a7.977 7.977 0 017.866 9.477A48.083 48.083 0 01152 144z"
        fill="#46349e"
      />
      <Circle cx={368} cy={376} fill="#5a45b5" r={40} />
      <Path d="M144 168h16v48h-16z" fill="#46349e" />
      <Path
        d="M144 208v32h1.373A54.626 54.626 0 01184 256v-8a40 40 0 00-40-40z"
        fill="#c378cb"
      />
    </Svg>
  );
}

Capricorn.defaultProps = {
  height: 120,
  width: 120,
  color: '#FFFFFFFF',
};

Capricorn.propTypes = {
  height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
  width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
  style: PropTypes.object,
  color: PropTypes.string,
};

export default Capricorn;
